Airwallex\Services\OrderService A

Total Complexity 51
Dependencies 12
Dependents 10
Total lines 390
Lines of code 306
Logical lines of code 98
Comment lines 56
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
getOrderByPaymentIntentId()
A
46 7 47
checkPendingTransactions()
A
49 8 30
getRefundByAmountAndTime()
A
41 5 74
setPaymentSuccess()
S
49 6 31
getRefundIdByAirwallexRefundId()
S
48 5 41
getOrderByAirwallexRefundId()
S
52 4 27
getPendingPaymentOrdersIds()
S
55 3 24
containsSubscription()
S
77 4 3
getAirwallexCustomerId()
S
64 3 11
setTemporaryOrderStateAfterDecline()
S
71 2 6
setPendingStatus()
S
71 2 6
setAuthorizedStatus()
S
71 2 6